﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

public partial class CustomerArchives_CustomerType : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Check.CheckPermission("200500105");
        if (!IsPostBack)
        {
            BindDataListCustomerType();
        }
    }
    protected void Page_PreInit(object sender, EventArgs e)
    {
        Page.Theme = BLL.Common.GetWSMThemes();
    }
    private void BindDataListCustomerType()
    {
        dlistCustomerType.DataSource = new BLL.CustomerType().GetAllList();
        dlistCustomerType.DataBind();
    }


}
